package com.clgc.eduservice.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 作业表
 * </p>
 *
 * @author testjava
 * @since 2021-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="KcbjTask对象", description="作业和课程班级表")
@TableName(value = "kcbj_task")
public class KcbjTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
    private String id;


    @ApiModelProperty(value = "课程班级id")
    @TableField(value = "kcbj_id")
    private String kcbjId;

    @ApiModelProperty(value = "作业id")
    private String taskId;


    @ApiModelProperty(value = "状态，0未发布，1发布")
    private Integer status;

    @ApiModelProperty(value = "作业最后提交时间")
    private Date submitTime;

    @TableField(value = "start_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value = "作业开始时间")
    private Date startTime;
}
